module Base
{
	model Vehicles_SuperBulldozer
	{
		mesh = Vehicles_SuperBulldozer,
		shader = vehicle_norandom_multiuv,
		static = TRUE,
		scale = 1,
	}
	model SuperBulldozerwheelleft
	{
		mesh = SuperBulldozerwheel,
		texture = Vehicles/SuperBulldozerwheel,
	}
	model SuperBulldozerwheelright
	{
		mesh = SuperBulldozerwheel,
		texture = Vehicles/SuperBulldozerwheel,
	}
	vehicle SuperBulldozer
    {
        mechanicType = 2,
        engineRepairLevel = 5,
        playerDamageProtection = 1,
        engineRPMType = van,
        offRoadEfficiency = 2.0,

        model
        {
            file = Vehicles_SuperBulldozer,
            scale = 1.0000,
            offset = 0.0000 0.0000 0.0000,
        }

        spawnOffsetY = 0.22553767,

        skin
        {
            texture = Vehicles/Vehicles_SuperBulldozer,
        }

        textureLights = Vehicles/Vehicles_SuperBulldozermax_Lights,
        textureMask = Vehicles/Vehicles_SuperBulldozermax,
        textureRust = Vehicles/Vehicles_SuperBulldozerrust,

        sound
        {
            backSignal = VehicleBackUpBeeper,
            engine = VehicleEngineSUV,
            engineStart = VehicleEngineVan,
            engineTurnOff = VehicleEngineVan,
            horn = VehicleHornVan,
            ignitionFail = VehicleIgnitionFailVan,
        }

        extents = 2.9400 1.9400 6.5000,
        mass = 1400,
        physicsChassisShape = 2.9400 1.9200 6.5000,
        centerOfMassOffset = 0.0000 1.0400 -0.1162,
        shadowExtents = 2.9400 6.2800,
        shadowOffset = 0.0000 -0.0050,
        extentsOffset = 0.8 0.8,
        gearRatioCount = 1,
        gearRatioR = 2.0,
        gearRatio1 = 1.0,
        engineForce = 6000,
        engineQuality = 100,
        engineLoudness = 100,
        maxSpeed = 35,
        brakingForce = 6,
        stoppingMovementForce = 2.0f,
        rollInfluence = 0.7f,
        steeringIncrement = 0.03,
        steeringClamp = 0.3,
        suspensionStiffness = 100,
        suspensionCompression = 3,
        suspensionDamping = 5,
        maxSuspensionTravelCm = 45,
        suspensionRestLength = 0.1,
        wheelFriction = 1.4f,
        frontEndHealth = 15000,
        rearEndHealth = 150,
        seats = 2,
        isSmallVehicle = false,

        wheel FrontLeft
        {
            front = true,
            offset = 0.8200 0.0000 1.0800,
            radius = 0.7f,
            width = 0.2f,
        }

        wheel FrontRight
        {
            front = true,
            offset = -0.8200 0.0000 1.0800,
            radius = 0.7f,
            width = 0.2f,
        }

        wheel RearLeft
        {
            front = false,
            offset = 0.8200 0.0000 -1.4400,
            radius = 0.7f,
            width = 0.2f,
        }

        wheel RearRight
        {
            front = false,
            offset = -0.8200 0.0000 -1.4400,
            radius = 0.7f,
            width = 0.2f,
        }

        template = PassengerSeat2,

        passenger FrontLeft
        {
            position inside
            {
                offset = 0.0600 1.5100 -0.6200,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
                offset = 1.5600 -0.5000 -2.0700,
                rotate = 0.0000 0.0000 0.0000,
                area = SeatFrontLeft,
            }
        }

        passenger FrontRight
        {
            position inside
            {
                offset = -0.3500 -0.1100 0.4200,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
                offset = 1.4600 -0.5000 -2.0800,
                rotate = 0.0000 0.0000 0.0000,
                area = SeatFrontRight,
            }
        }

        area Engine
        {
            xywh = 0.0000 -3.6100 1.6800 0.7200,
        }

        area TruckBed
        {
            xywh = 1.7400 -0.6000 0.6600 1.4200,
        }

        area SeatFrontLeft
        {
            xywh = 1.8100 -2.2800 0.6600 1.8000,
        }

        area SeatFrontRight
        {
            xywh = -1.8100 -2.2800 0.6600 1.8000,
        }

        area GasTank
        {
            xywh = -1.6600 -0.5400 0.4800 1.1800,
        }

        area TireFrontLeft
        {
            xywh = 0.6800 0.8700 0.4800 0.4800,
        }

        area TireFrontRight
        {
            xywh = -0.6800 0.8700 0.4800 0.4800,
        }

        area TireRearLeft
        {
            xywh = 0.6800 -0.5400 0.4800 0.4800,
        }

        area TireRearRight
        {
            xywh = -0.6800 -0.5400 0.4800 0.4800,
        }

        template = Trunk/part/TruckBed,

        part TruckBed
        {
            itemType = Base.BigTrunk,

            container
            {
                capacity = 25,
            }
        }

        template = Seat/part/SeatFrontLeft,
        template = Seat/part/SeatFrontRight,

        part Seat*
        {
            table install
            {
                skills = Mechanics:2,
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                skills = Mechanics:2,
                recipes = Intermediate Mechanics,
            }
        }

        template = GloveBox,
        template = GasTank,

        part GasTank
        {
            container{capacity = 200,}
            install
            {
                skills = Mechanics:7,
                recipes = Intermediate Mechanics,
            }

            uninstall
            {
                skills = Mechanics:7,
                recipes = Intermediate Mechanics,
            }
        }

        template = Battery,
        template = Engine,
        template = Muffler,

        part Muffler
        {
            table install
            {
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }

        template = EngineDoor,

        part EngineDoor
        {
            anim Open
            {
                sound = VehicleHoodOpenVan,
            }

            anim Close
            {
                sound = VehicleHoodCloseVan,
            }

            table install
            {
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }

        part Heater
        {
            category = engine,

            lua
            {
                update = Vehicles.Update.Heater,
            }
        }

        part PassengerCompartment
        {
            category = nodisplay,

            lua
            {
                update = Vehicles.Update.PassengerCompartment,
            }
        }

        template = Windshield/part/Windshield,
        template = Windshield/part/WindshieldRear,

        part Windshield*
        {
            table install
            {
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }

        part WindshieldRear
        {
            table install
            {
                requireInstalled = DoorRear,
            }
        }

        template = Window/part/WindowFrontLeft,
        template = Window/part/WindowFrontRight,

        part Window*
        {
            table install
            {
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }

        template = Door/part/DoorFrontLeft,
        template = Door/part/DoorFrontRight,
        template = Door/part/DoorRear,

        part Door*
        {
            anim Open
            {
                sound = VehicleDoorOpenVan,
            }

            anim Close
            {
                sound = VehicleDoorCloseVan,
            }

            anim Lock
            {
                sound = LockVehicleDoorVan,
            }

            anim Unlock
            {
                sound = UnlockVehicleDoorVan,
            }

            anim IsLocked
            {
                sound = VehicleDoorIsLockedVan,
            }

            table install
            {
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                recipes = Intermediate Mechanics,
            }
        }

        part DoorRear
        {
            anim Open
            {
                sound = VehicleTrunkOpenVan,
            }

            anim Close
            {
                sound = VehicleTrunkCloseVan,
            }

            table uninstall
            {
                requireUninstalled = WindshieldRear,
            }

            hasLightsRear = true,
        }

        template = Tire,

        part TireFrontLeft
        {
            model InflatedTirePlusWheel
            {
                file = SuperBulldozerwheelleft,
                rotate = 0.0000 0.0000 180.0000,
                offset = 0.0000 0.0000 0.0000,
            }
        }

        part TireFrontRight
        {
            model InflatedTirePlusWheel
            {
                file = SuperBulldozerwheelright,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        part TireRearLeft
        {
            model InflatedTirePlusWheel
            {
                file = SuperBulldozerwheelleft,
                rotate = 0.0000 0.0000 180.0000,
                offset = 0.0000 0.0000 0.0000,
            }
        }

        part TireRearRight
        {
            model InflatedTirePlusWheel
            {
                file = SuperBulldozerwheelright,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        template = Brake,

        part Brake*
        {
            table install
            {
                skills = Mechanics:6,
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                skills = Mechanics:6,
                recipes = Intermediate Mechanics,
            }
        }

        template = Suspension,

        part Suspension*
        {
            table install
            {
                skills = Mechanics:6,
                recipes = Intermediate Mechanics,
            }

            table uninstall
            {
                skills = Mechanics:6,
                recipes = Intermediate Mechanics,
            }
        }

        template = Radio,
        template = Headlight,

        physics box
        {
            offset = 0.0000 0.6959 -0.8000,
            extents = 1.0000 1.2400 5.1400,
            rotate = 0.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 1.8056 -0.4100,
            extents = 1.0000 1.1800 1.0000,
            rotate = 0.0000 0.0000 0.0000,
        }

        attachment trailer
        {
            offset = 0.0000 0.1378 -3.4552,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = -1.0000,
        }

        attachment trailerfront
        {
            offset = 0.0000 -0.2747 3.3103,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = 1.0000,
        }
    }
}
